package com.gjzhao.fmmall.vo;

import com.gjzhao.fmmall.entity.Category;
import com.gjzhao.fmmall.entity.Product;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Description: 商品分类扩展VO
 * @Author: gjzhao
 * @Date Created in 2022-01-02 9:46 上午
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class CategoryVO extends Category {

    /** 商品类别子级类别 */
    private List<Category> categories;

    /** 该分类下对应的产品列表 */
    private List<Product> products;

}
